package com.hudun.permissionmanager;

import java.util.List;

public interface PermissionListener {

    void onGranted(int requestCode);

    void onDenied(int requestCode,List<String> deniedPermission);

    /**
     *
     * @param isFirst  标记是否刚刚点击了拒绝并勾选了不提示，true  是；false 代表非首次有点击按钮申请已经被永久拒绝的权限
     * @param requestCode
     * @param deniedPermission
     */
    void onShouldShowRationale(boolean isFirst,int requestCode,List<String> deniedPermission);
}
